package com.sky.service;

import com.sky.dto.ShoppingCartDTO;
import com.sky.entity.ShoppingCart;

import java.util.List;

/**
 * @author 32338
 * @date 2024-04-20 17:57:44
 * @description
 */
public interface ShoppingCartService {

    /**
     * @description
     ***:添加购物车
     **/
    void addShoppingCart(ShoppingCartDTO shoppingCartDTO);

    /**
     * @description
     ***:查看购物车
     **/
    List<ShoppingCart> showShoppingCart();

    /**
     * @description
     ***:清空购物车
     **/
    void cleanShoppingCart();

    void cleanOneShopping(ShoppingCartDTO shoppingCartDTO);
}
